<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of conexion
 *
 * @author Sondy
 */
class conexion {

    private $servidor = "localhost";
    private $usuario = "root";
    private $pass = "";
    private $base_datos = "desarrollosaf";

    public function setConnect(){
        try{
            $usuario = new claseDB($this->servidor,$this->usuario,$this->pass,$this->base_datos);
            return $usuario;
        } catch ( CustomException $Ex ){
            new ExceptionHandler( $Ex );
        }
    }
}
?>
